testing.common.cleanups (field)
9 uses
testing (current package)
testing.go#L635: cleanups []func() // optional functions to be called at the end of the test
testing.go#L1216: c.cleanups = append(c.cleanups, fn)
testing.go#L1422: recur := len(c.cleanups) > 0
testing.go#L1436: if len(c.cleanups) > 0 {
testing.go#L1437: last := len(c.cleanups) - 1
testing.go#L1438: cleanup = c.cleanups[last]
testing.go#L1439: c.cleanups = c.cleanups[:last]
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)